package org.wk.account.domain.zuan;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.wk.core.db.domain.BaseEntity;



/**
 * @ClassName	: SubAccount
 * @Package		：org.wk.digiccy.domain
 * @Author df.w 
 * @Create Time	：2018年5月8日 下午12:00:53
 * @Description	: 用户子账户 鲸钻 变动流水
 */ 
@Entity(name="org.wk.account.domain.zuan.SubAccountZuanSeq")
@Table(name="sub_account_zuan_seq")
public class SubAccountZuanSeq extends BaseEntity{
	/**
	* @Fields serialVersionUID: long
	* @Desc TODO: 
	*/
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 32)
	@GeneratedValue(generator="system-uuid")
	@GenericGenerator(name="system-uuid",strategy = "uuid")
	private String id;

	@Column
	private String userId;
		
	/**
	 * @Fields seqFlag: String
	 * @Desc TODO: 变动方向   income 进账  expend 往帐 
	 */
	@Column
	private String seqFlagCode;
	
	@Column
	private String seqFlagName;
	
	/**
	 * @Fields changeType: String
	 * @Desc TODO: 变动类型  注册奖励，每日登录奖励，推广奖励
	 */
	@Column
	private String changeTypeCode;
	@Column
	private String changeTypeName;
	
	
	/**
	 * @Fields preAmount: int
	 * @Desc TODO: 变动前金额
	 */
	@Column
	private int preAmount;
	
	/**
	 * @Fields amount: int
	 * @Desc TODO: 变动后金额 
	 */
	@Column
	private int amount;
	
	
	/**
	 * @Fields changeAmount: int
	 * @Desc TODO: 变动金额
	 */
	@Column
	private int changeAmount;


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getUserId() {
		return userId;
	}


	public void setUserId(String userId) {
		this.userId = userId;
	}


	

	public String getSeqFlagCode() {
		return seqFlagCode;
	}


	public void setSeqFlagCode(String seqFlagCode) {
		this.seqFlagCode = seqFlagCode;
	}


	public String getSeqFlagName() {
		return seqFlagName;
	}


	public void setSeqFlagName(String seqFlagName) {
		this.seqFlagName = seqFlagName;
	}


	public String getChangeTypeCode() {
		return changeTypeCode;
	}


	public void setChangeTypeCode(String changeTypeCode) {
		this.changeTypeCode = changeTypeCode;
	}


	public String getChangeTypeName() {
		return changeTypeName;
	}


	public void setChangeTypeName(String changeTypeName) {
		this.changeTypeName = changeTypeName;
	}


	public int getPreAmount() {
		return preAmount;
	}


	public void setPreAmount(int preAmount) {
		this.preAmount = preAmount;
	}


	public int getAmount() {
		return amount;
	}


	public void setAmount(int amount) {
		this.amount = amount;
	}


	public int getChangeAmount() {
		return changeAmount;
	}


	public void setChangeAmount(int changeAmount) {
		this.changeAmount = changeAmount;
	}


	


	
	
	
}
